<template>
	<view>
		<NavBar text='缴纳结果' />
		<!-- <view> -->
		<view style="background-color: #fff;">
			<view style="width: 100%; height: 150rpx;"></view>
			<view>
				<view class="flx2">
					<view class="seccessimage">
						<image src="/static/hospital/seccess.png"></image>
					</view>
				</view>
				
				<view style="text-align: center; font-size: 30rpx; margin-top:30rpx; font-weight: 600;">
					缴费成功
				</view>
				<view style="text-align: center; text-align: center;font-size: 30rpx; font-weight: 600; margin-top:30rpx;">
					￥{{money}}
				</view>
			</view>
			<view style="width: 90%; margin:0 auto;font-size: 30rpx;">
				<view class="flx border_ys">
					<view>缴费项目</view>
					<view>{{jfinfo.text}}</view>
				</view>
				<view class="flx border_ys">
					<view>缴纳金额</view>
					<view>{{jfinfo.money}}</view>
				</view>
				<view class="flx border_ys">
					<view>患者姓名</view>
					<view>{{jfinfo.name}}</view>
				</view>
				<view class="flx border_ys">
					<view>住院号</view>
					<view>{{jfinfo.zynumber}}</view>
				</view>
				<view class="flx border_ys">
					<view>余额</view>
					<view>{{jfinfo.ye}}</view>
				</view>
				<view class="flx border_ys">
					<view>缴纳时间</view>
					<view>{{jfinfo.date}}</view>
				</view>
			</view>
			<view style="width: 100%; height: 80rpx;"></view>
			<view class="button" @click="ljjn">完成</view>
			<view style="width: 100%; height: 80rpx;"></view>
		</view>
		
			
			<!--  -->
		<!-- </view> -->

	</view>
</template>

<script>
	import NavBar from '@/components/NarBar.vue'
	export default {
		components: {
			NavBar
		},
		data(){
			return{
				money:'600.00',
				jfinfo:{
					text:'住院押金',
					money:'600.00',
					name:'张丹丹',
					zynumber:'231324314',
					ye:' 2000.00',
					date:'2023-02-02 13:22'
				}
			}
		},
		methods:{
			ljjn(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
		
	}
</script>

<style lang="scss">
	page {
		background-color: #f7f7f7;
	}
	.seccessimage{
		width: 100rpx;
		height: 100rpx;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.border_ys{
		line-height: 85rpx;
		border-bottom: 1rpx #e8e8e8 solid;
	}
	.button{
		width: 85%;
		margin:0 auto;
		background-color: #ffcc33;
		line-height: 80rpx;
		color: #fff;
		text-align: center;
		letter-spacing: 1rpx;
		border-radius: 45rpx;
		font-size: 28rpx;
	}
</style>